]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
unlockDialog: Explicitly set horizontal alignment
authorYosef Or Boczko <yoseforb@gmail.com>
Wed, 11 Dec 2013 20:36:49 +0000 (22:36 +0200)
committerYosef Or Boczko <yoseforb@gmail.com>
Wed, 11 Dec 2013 20:36:49 +0000 (22:36 +0200)
When set to fill, the label will always end up left-aligned, which
is only correct in LTR locales. Set the alignment explicitly to
work in both RTL and LTR locales.

https://bugzilla.gnome.org/show_bug.cgi?id=712638

js/ui/unlockDialog.js

index d43df839aa758aa8c8a8f4599a785e717ad82ec9..06966a30f9f7b746641f9499da4da32f8532cfc6 100644 (file)
@@ -71,7 +71,7 @@ const UnlockDialog = new Lang.Class({
                                                     child: otherUserLabel,
                                                     reactive: true,
                                                     x_align: St.Align.START,
-                                                    x_fill: true });
+                                                    x_fill: false });
             this._otherUserButton.connect('clicked', Lang.bind(this, this._otherUserClicked));
             this._promptBox.add_child(this._otherUserButton);
         } else {